package com.senlingspace.system.mapper;

import java.util.ArrayList;
import java.util.List;
import com.senlingspace.system.domain.SlkjStoreCost;
import com.senlingspace.system.domain.dto.StoreCostDto;
import org.apache.ibatis.annotations.Param;

/**
 * 门店成本上报Mapper接口
 *
 * @author SenlingSpace
 * @date 2024-07-23
 */
public interface SlkjStoreCostMapper
{
    /**
     * 查询门店成本上报
     *
     * @param storeId 门店成本上报主键
     * @return 门店成本上报
     */
    public SlkjStoreCost selectSlkjStoreCostByStoreId(Long storeId);

    /**
     * 查询门店成本上报列表
     *
     * @param slkjStoreCost 门店成本上报
     * @return 门店成本上报集合
     */
    public List<SlkjStoreCost> selectSlkjStoreCostList(SlkjStoreCost slkjStoreCost);

    /**
     * 新增门店成本上报
     *
     * @param slkjStoreCost 门店成本上报
     * @return 结果
     */
    public int insertSlkjStoreCost(SlkjStoreCost slkjStoreCost);

    /**
     * 修改门店成本上报
     *
     * @param slkjStoreCost 门店成本上报
     * @return 结果
     */
    public int updateSlkjStoreCost(SlkjStoreCost slkjStoreCost);

    /**
     * 删除门店成本上报
     *
     * @param storeId 门店成本上报主键
     * @return 结果
     */
    public int deleteSlkjStoreCostByStoreId(Long storeId);

    /**
     * 批量删除门店成本上报
     *
     * @param storeIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSlkjStoreCostByStoreIds(Long[] storeIds);

    ArrayList<SlkjStoreCost> selectSlkjStoreCostByShopId(@Param("shopId") Long shopId,@Param("storeMonth") String storeMonth);

    List<SlkjStoreCost> selectSlkjStoreCostByShopIds(@Param("shopIds") List<Long> shopIds);
}
